dispose

open fun dispose()

Releases any resources held by this control and prepares it for removal or permanent deactivation.

After dispose()} is called, the control should not be used further. This method should ensure that all internal resources (threads, listeners, native resources, etc.) are properly cleaned up to prevent memory leaks or other issues.

This is typically the final lifecycle method called for a control.

Releases resources used by this view. Currently, this method primarily ensures that periodic weather updates are stopped by calling stop. ImageViews (bg, fg) will have their resources managed by the system and DownloadImageTask2 if it handles bitmap recycling on completion or error.